package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.domain.activity.ActivityDO;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: chouh
 * @DateTime: 2025/10/13 0:40
 * @Description:
 */
@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {

    List<Activity> queryActivitiesByType(Integer type);

    Activity selectByIdd(Integer id);

    void insertActivity(Activity activity);

    List<ActivityDO> selectBypage(ActivityDTO activityDTO);
}
